﻿/***********************************************************************************************
 * 
 * ProjectName: WMSSoft.Lib.WinKStart
 * 
 * Description: Contains the configuration for Regions how Region Types
 * 
 * Created:     24.07.2015
 * 
 * Author:      matthias wagler - matthias@WMSSoft.de
 * 
 * Copyright:   Copyright 2015 by WMSSoft.net
 * 
 * License:     GPLv3
 * 
 * History:     24.07.2015 - matthias wagler matthias@WMSSoft.de   -   Created
 * 
 **********************************************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WMSSoft.Lib.Basic;

namespace WMSSoft.Lib.WinKStart.Classes.Metadata
{
    public static class Meta_ContextMenu
    {
        public static List<KeyValueAssignment> GetTargeteTypes()
        {
            try
            {
                List<KeyValueAssignment> tmpRegionTypes = new List<KeyValueAssignment>();
                tmpRegionTypes.Add(new KeyValueAssignment("", LanguageStrings.GetText("Please choose a Target - Type")));
                tmpRegionTypes.Add(new KeyValueAssignment("SelectedItem", LanguageStrings.GetText("Base on Selected Item")));
                tmpRegionTypes.Add(new KeyValueAssignment("Custom", LanguageStrings.GetText("Only Custom defined")));

                return tmpRegionTypes;
            }
            catch (Exception Ex)
            {
                throw new Exception("Error while collecting Context-Menu Target-Types!", Ex);
            }
        }
    }
}
